package com.mapaoer.user.dto;

import lombok.Data;

import jakarta.validation.constraints.Email;

/**
 * 更新用户资料DTO
 * 用于接收更新用户基本资料的请求参数
 */
@Data
public class UpdateProfileDTO {

    public String getUsername() {
        return username;
    }

    public String getEmail() {
        return email;
    }

    public String getPhone() {
        return phone;
    }

    public String getMembershipStatus() {
        return membershipStatus;
    }

    public String getStatus() {
        return status;
    }

    private String username;

    @Email(message = "邮箱格式不正确")
    private String email;

    private String phone;

    private String membershipStatus;

    private String status;
}